package com.ctgu.server.dao.entity;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ctgu
 * @since 2023-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ArticleComments对象", description="")
public class ArticleComments implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论的唯一标识符（主键）")
    private String id;

    @ApiModelProperty(value = "关联的文章ID（外键）")
    private String articleId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "指向父级Id")
    private Long parentId;


}
